<template>
  <navbar></navbar>
  <articlebar/>
  <div class="container d-flex">
    <!--  需不需要 被一整个盒子的阴影包住 -->
    <template v-if="lujing.includes($route.path)">
      <div class="bos" style="box-shadow: 0px 0px 30px #ccc">
        <slot class="slot" />
      </div>
    </template>

    <template v-else>
      <div class="bos">
        <slot class="slot" />
      </div>
    </template>

    <rightArticle class="two"></rightArticle>
  </div>
  <bottom></bottom>
</template>

<script setup>
let lujing = ["trainpro/3", "traincase/2", "study/1"];
</script>

<style lang="scss" scoped>
.container {
  display: flex;
  padding: 90px 0px;
  flex-wrap: wrap;
}

.two {
  flex: 1;
}
.bos {
  flex: 3;
  height: 100%;

  // background-color: red;
}
// @media (min-width: 150px) and (max-width: 700px) {
//   .container {
//     flex: 4;
//   }
// }
</style>
